package com.ticketbox.ejb.session.interfaces;

import java.util.Vector;

import javax.ejb.Local;

import com.ticketbox.entity.Role;
import com.ticketbox.entity.User;

@Local
public interface RoleFacadeLocal {
	
	public void createRole(Role role);
	
	public void modifyRole(int id, Role role);
	
	public void modifyRole(Role role);
	
	public User getRoleById(int id);
	
	public Vector<Role> findAllRoles();
	
	public Vector<User> findRolesByUser(User user);
	
	public void deleteRole(int id);
	
}
